package com.hehui.module.customer.dao;

import com.hehui.module.customer.entity.RefCustomerTrademark;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/* 客户品牌屏蔽关系接口
 * @return: null
 * @param null:
 * @author: why
 * @date: 2021/1/8 10:54
 * @description:
 */
public interface CustomerTrademarkMapper {
    //批量添加
    public int insert(@Param("ref_customerId") Long ref_customerId,@Param("ref_merchantId") Long ref_merchantId,@Param("trademarkIds") List<Long> trademarkIds);

    //删除
    public int delete(@Param("ref_customerId") Long ref_customerId,@Param("ref_merchantId") Long ref_merchantId);

    //查询客户关联的商品品牌
    public List<Long> selectTrademarkId(@Param("ref_customerId") Long ref_customerId,@Param("ref_merchantId") Long ref_merchantId);

}
